//
//  FFRedPacketsRecordModel.h
//  LiMaoRedPackets
//
//  Created by JayLuo on 2020/9/15.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@interface FFRedPacketsRecord : NSObject
@property(nonatomic, strong) NSString *uid;
@property(nonatomic, strong) NSString *name;
@property(nonatomic, assign) NSInteger open_amount;
@property(nonatomic, assign) NSInteger open_time;
@property(nonatomic, assign) NSInteger is_luck;

/* 红包记录新增字段 */

/* 收到的红包 */
@property(nonatomic, strong) NSString *open_date;
@property(nonatomic, strong) NSString *sender_name;
@property(nonatomic, strong) NSString *sender_uid;

/* 发出的红包 */
@property(nonatomic, assign) NSInteger amount;
@property(nonatomic, assign) NSInteger num;
@property(nonatomic, assign) NSInteger open_num;
@property(nonatomic, assign) NSInteger status;
@property(nonatomic, assign) NSInteger type;
@property(nonatomic, strong) NSString *create_date;
@property(nonatomic, strong) NSString *redpacket_no;

@end


@interface FFRedPacketsRecordModel : NSObject
@property(nonatomic, strong) NSString *redpacket_no;
@property(nonatomic, strong) NSString *blessing;
@property(nonatomic, strong) NSString *sender_uid;
@property(nonatomic, strong) NSString *sender_name;
@property(nonatomic, assign) NSInteger status;
@property(nonatomic, assign) NSInteger total_num;
@property(nonatomic, assign) NSInteger open_num;
@property(nonatomic, assign) NSInteger finished_time;
@property(nonatomic, assign) NSInteger amount;
@property(nonatomic, assign) NSInteger my_open_amount;
@property(nonatomic, assign) NSInteger balance;
@property(nonatomic, assign) NSInteger finished_spend;
@property(nonatomic, strong) NSArray <FFRedPacketsRecord *>*records;
@end



NS_ASSUME_NONNULL_END
